﻿Public Class naturezaBO



    Dim natureza As New naturezaDAO


    Public Function getnaturezas() As Generic.List(Of naturezaVO)

        Try

            Return natureza.getnaturezas

        Catch ex As Exception

            Throw ex

        End Try


    End Function


    Public Function getNatureza(ByVal id_natureza As Integer) As naturezaVO
        Try

            Return natureza.getNatureza(id_natureza)

        Catch ex As Exception

            Throw ex

        End Try


    End Function


    Public Function getTipoNatureza(ByVal id_tipo_pericia As Integer) As Generic.List(Of naturezaVO)

        Try

            Return natureza.getTipoNatureza(id_tipo_pericia)

        Catch ex As Exception

            Throw ex

        End Try


    End Function

    Public Function getNaturezaCompleta(ByVal id_natureza As Integer) As naturezaVO

        Try

            Return natureza.getNaturezaCompleta(id_natureza)

        Catch ex As Exception

            Throw ex

        End Try


    End Function



End Class
